3.267 \(\int x \left (d+e x^2\right )^2 \left (a+b x^2+c x^4\right ) \, dx\)

Optimal. Leaf size=75 \[ \frac{\left (d+e x^2\right )^3 \left (a e^2-b d e+c d^2\right )}{6 e^3}-\frac{\left (d+e x^2\right )^4 (2 c d-b e)}{8 e^3}+\frac{c \left (d+e x^2\right )^5}{10 e^3} \]

[Out]

((c*d^2 - b*d*e + a*e^2)*(d + e*x^2)^3)/(6*e^3) - ((2*c*d - b*e)*(d + e*x^2)^4)/
(8*e^3) + (c*(d + e*x^2)^5)/(10*e^3)

_______________________________________________________________________________________

Rubi [A]  time = 0.286615, antiderivative size = 75, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087 \[ \frac{\left (d+e x^2\right )^3 \left (a e^2-b d e+c d^2\right )}{6 e^3}-\frac{\left (d+e x^2\right )^4 (2 c d-b e)}{8 e^3}+\frac{c \left (d+e x^2\right )^5}{10 e^3} \]

Antiderivative was successfully verified.

[In]  Int[x*(d + e*x^2)^2*(a + b*x^2 + c*x^4),x]

[Out]

((c*d^2 - b*d*e + a*e^2)*(d + e*x^2)^3)/(6*e^3) - ((2*c*d - b*e)*(d + e*x^2)^4)/
(8*e^3) + (c*(d + e*x^2)^5)/(10*e^3)

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \frac{c e^{2} x^{10}}{10} + \frac{d^{2} \int ^{x^{2}} a\, dx}{2} + \frac{d \left (2 a e + b d\right ) \int ^{x^{2}} x\, dx}{2} + \frac{e x^{8} \left (b e + 2 c d\right )}{8} + x^{6} \left (\frac{a e^{2}}{6} + \frac{b d e}{3} + \frac{c d^{2}}{6}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x*(e*x**2+d)**2*(c*x**4+b*x**2+a),x)

[Out]

c*e**2*x**10/10 + d**2*Integral(a, (x, x**2))/2 + d*(2*a*e + b*d)*Integral(x, (x
, x**2))/2 + e*x**8*(b*e + 2*c*d)/8 + x**6*(a*e**2/6 + b*d*e/3 + c*d**2/6)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0397876, size = 72, normalized size = 0.96 \[ \frac{1}{120} x^2 \left (20 x^4 \left (e (a e+2 b d)+c d^2\right )+30 d x^2 (2 a e+b d)+60 a d^2+15 e x^6 (b e+2 c d)+12 c e^2 x^8\right ) \]

Antiderivative was successfully verified.

[In]  Integrate[x*(d + e*x^2)^2*(a + b*x^2 + c*x^4),x]

[Out]

(x^2*(60*a*d^2 + 30*d*(b*d + 2*a*e)*x^2 + 20*(c*d^2 + e*(2*b*d + a*e))*x^4 + 15*
e*(2*c*d + b*e)*x^6 + 12*c*e^2*x^8))/120

_______________________________________________________________________________________

Maple [A]  time = 0.001, size = 73, normalized size = 1. \[{\frac{c{e}^{2}{x}^{10}}{10}}+{\frac{ \left ( b{e}^{2}+2\,cde \right ){x}^{8}}{8}}+{\frac{ \left ( a{e}^{2}+2\,bde+c{d}^{2} \right ){x}^{6}}{6}}+{\frac{ \left ( 2\,ade+b{d}^{2} \right ){x}^{4}}{4}}+{\frac{a{d}^{2}{x}^{2}}{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x*(e*x^2+d)^2*(c*x^4+b*x^2+a),x)

[Out]

1/10*c*e^2*x^10+1/8*(b*e^2+2*c*d*e)*x^8+1/6*(a*e^2+2*b*d*e+c*d^2)*x^6+1/4*(2*a*d
*e+b*d^2)*x^4+1/2*a*d^2*x^2

_______________________________________________________________________________________

Maxima [A]  time = 0.694096, size = 97, normalized size = 1.29 \[ \frac{1}{10} \, c e^{2} x^{10} + \frac{1}{8} \,{\left (2 \, c d e + b e^{2}\right )} x^{8} + \frac{1}{6} \,{\left (c d^{2} + 2 \, b d e + a e^{2}\right )} x^{6} + \frac{1}{2} \, a d^{2} x^{2} + \frac{1}{4} \,{\left (b d^{2} + 2 \, a d e\right )} x^{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^4 + b*x^2 + a)*(e*x^2 + d)^2*x,x, algorithm="maxima")

[Out]

1/10*c*e^2*x^10 + 1/8*(2*c*d*e + b*e^2)*x^8 + 1/6*(c*d^2 + 2*b*d*e + a*e^2)*x^6
+ 1/2*a*d^2*x^2 + 1/4*(b*d^2 + 2*a*d*e)*x^4

_______________________________________________________________________________________

Fricas [A]  time = 0.229945, size = 1, normalized size = 0.01 \[ \frac{1}{10} x^{10} e^{2} c + \frac{1}{4} x^{8} e d c + \frac{1}{8} x^{8} e^{2} b + \frac{1}{6} x^{6} d^{2} c + \frac{1}{3} x^{6} e d b + \frac{1}{6} x^{6} e^{2} a + \frac{1}{4} x^{4} d^{2} b + \frac{1}{2} x^{4} e d a + \frac{1}{2} x^{2} d^{2} a \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^4 + b*x^2 + a)*(e*x^2 + d)^2*x,x, algorithm="fricas")

[Out]

1/10*x^10*e^2*c + 1/4*x^8*e*d*c + 1/8*x^8*e^2*b + 1/6*x^6*d^2*c + 1/3*x^6*e*d*b
+ 1/6*x^6*e^2*a + 1/4*x^4*d^2*b + 1/2*x^4*e*d*a + 1/2*x^2*d^2*a

_______________________________________________________________________________________

Sympy [A]  time = 0.130887, size = 76, normalized size = 1.01 \[ \frac{a d^{2} x^{2}}{2} + \frac{c e^{2} x^{10}}{10} + x^{8} \left (\frac{b e^{2}}{8} + \frac{c d e}{4}\right ) + x^{6} \left (\frac{a e^{2}}{6} + \frac{b d e}{3} + \frac{c d^{2}}{6}\right ) + x^{4} \left (\frac{a d e}{2} + \frac{b d^{2}}{4}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x*(e*x**2+d)**2*(c*x**4+b*x**2+a),x)

[Out]

a*d**2*x**2/2 + c*e**2*x**10/10 + x**8*(b*e**2/8 + c*d*e/4) + x**6*(a*e**2/6 + b
*d*e/3 + c*d**2/6) + x**4*(a*d*e/2 + b*d**2/4)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.267565, size = 107, normalized size = 1.43 \[ \frac{1}{10} \, c x^{10} e^{2} + \frac{1}{4} \, c d x^{8} e + \frac{1}{8} \, b x^{8} e^{2} + \frac{1}{6} \, c d^{2} x^{6} + \frac{1}{3} \, b d x^{6} e + \frac{1}{6} \, a x^{6} e^{2} + \frac{1}{4} \, b d^{2} x^{4} + \frac{1}{2} \, a d x^{4} e + \frac{1}{2} \, a d^{2} x^{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^4 + b*x^2 + a)*(e*x^2 + d)^2*x,x, algorithm="giac")

[Out]

1/10*c*x^10*e^2 + 1/4*c*d*x^8*e + 1/8*b*x^8*e^2 + 1/6*c*d^2*x^6 + 1/3*b*d*x^6*e
+ 1/6*a*x^6*e^2 + 1/4*b*d^2*x^4 + 1/2*a*d*x^4*e + 1/2*a*d^2*x^2